package com.example.pro1.entity.zhao;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@TableName("gorder")
@Component
public class OrderInfo {
    @TableId("orderId")
    private String orderId;
    @TableField("title")
    private String title;//订单标题
    @TableField("orderNum")
    private String orderNo;//商户订单编号
    @TableField("cId")
    private Long userId;//用户id
    @TableField("gId")
    private Long productId;//支付产品id
    @TableField("cost")
    private Integer totalFee;//订单金额(分)
    @TableField("payUrl")
    private String codeUrl;//订单二维码连接
    @TableField("orderStatue")
    private String orderStatus;//订单状态
    @TableField("chargeWay")//支付方式
    private String chargeWay;
    @TableField("orderDate")
    private Date createTime;//创建时间
    @TableField("updateDate")
    private Date updateTime;//更新时间
    @TableField("num")
    private String num;//更新时间
    @TableField("orderLog")
    private String beizhu;
    @TableField("addressId")
    private String addressId;
}
